package com.fruit.pojo.account.bill;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 账单明细POJO
 * @author Administrator
 *
 */
public class BillDetail implements Serializable {
    private Long id;

    private Integer userId;

    private String type;

    private BigDecimal money;

    private String moneyState;

    private String state;

    private String remark;

    private Long objId;

    private String createTime;

    private String updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getMoneyState() {
        return moneyState;
    }

    public void setMoneyState(String moneyState) {
        this.moneyState = moneyState == null ? null : moneyState.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
    @Override
    public String toString() {
    	StringBuffer str=new StringBuffer();
    	str.append("[");
    	str.append("id="+id);
    	str.append(",userId="+userId);
    	str.append(",type="+type);
    	str.append(",money="+money);
    	str.append(",moneyState="+moneyState);
    	str.append(",state="+state);
    	str.append(",remark="+remark);
    	str.append(",objId="+objId);
    	str.append(",createTime="+createTime);
    	str.append(",updateTime="+updateTime);
    	str.append("]");
    	
    	return str.toString();
    }
}